package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.LiveListBeen;
import cn.xfdzx.android.apps.shop.bean.SubmitWithdrawalBeen;
import cn.xfdzx.android.apps.shop.bean.WithdrawalListBeen;
import cn.xfdzx.android.apps.shop.contract.LiveListContract;
import cn.xfdzx.android.apps.shop.contract.WithdrawalListContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class WithdrawalListModel implements WithdrawalListContract.Model {



    @Override
    public Flowable<WithdrawalListBeen> withdrawalList(String storeId,String page, String limit) {
        return RetrofitClient.getInstance().getApi().withdrawalList(storeId,page,limit);
    }

    @Override
    public Flowable<SubmitWithdrawalBeen> submitWithdrawal(String store_id, String is_full, String drawing_flag, String order_sn, String remark) {
        return  RetrofitClient.getInstance().getApi().submitWithdrawal(store_id,is_full,drawing_flag,order_sn,remark);
    }

}
